<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="CustomerAlertsDataSet" targetNamespace="http://tempuri.org/CustomerAlerts.xsd" xmlns:mstns="http://tempuri.org/CustomerAlerts.xsd" xmlns="http://tempuri.org/CustomerAlerts.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
          <Connection AppSettingsObjectName="Web.config" AppSettingsPropertyName="GlobalBankConnection" ConnectionStringObject="" IsAppSettingsProperty="True" Modifier="Assembly" Name="GlobalBankConnection (Web.config)" ParameterPrefix="@" PropertyReference="AppConfig.System.Configuration.ConfigurationManager.0.ConnectionStrings.GlobalBankConnection.ConnectionString" Provider="System.Data.SqlClient">
          </Connection>
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="AlertTableAdapter" GeneratorDataComponentClassName="AlertTableAdapter" Name="Alert" UserDataComponentName="AlertTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="GlobalBankConnection (Web.config)" DbObjectName="[.\APP_DATA\GLOBALBANK.MDF].dbo.sp_CustomerAlerts" DbObjectType="StoredProcedure" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Fill" GenerateShortCommands="True" GeneratorSourceName="Fill" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="True" UserGetMethodName="GetData" UserSourceName="Fill">
                <SelectCommand>
                  <DbCommand CommandType="StoredProcedure" ModifiedByUser="False">
                    <CommandText>sp_CustomerAlerts</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CustomerId" Precision="0" ProviderType="NVarChar" Scale="0" Size="32" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="AlertId" DataSetColumn="AlertId" />
              <Mapping SourceColumn="AlertTypeId" DataSetColumn="AlertTypeId" />
              <Mapping SourceColumn="CustomerId" DataSetColumn="CustomerId" />
              <Mapping SourceColumn="StartDate" DataSetColumn="StartDate" />
              <Mapping SourceColumn="ExpirationDate" DataSetColumn="ExpirationDate" />
            </Mappings>
            <Sources>
            </Sources>
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="AlertTypeTableAdapter" GeneratorDataComponentClassName="AlertTypeTableAdapter" Name="AlertType" UserDataComponentName="AlertTypeTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="GlobalBankConnection (Web.config)" DbObjectName="dbo.AlertType" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Fill" GenerateShortCommands="True" GeneratorSourceName="Fill" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="True" UserGetMethodName="GetData" UserSourceName="Fill">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="False">
                    <CommandText>SELECT AlertTypeId, AlertType, Description, StartDate, ExpirationDate FROM dbo.AlertType</CommandText>
                    <Parameters>
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="AlertTypeId" DataSetColumn="AlertTypeId" />
              <Mapping SourceColumn="AlertType" DataSetColumn="AlertType" />
              <Mapping SourceColumn="Description" DataSetColumn="Description" />
              <Mapping SourceColumn="StartDate" DataSetColumn="StartDate" />
              <Mapping SourceColumn="ExpirationDate" DataSetColumn="ExpirationDate" />
            </Mappings>
            <Sources>
            </Sources>
          </TableAdapter>
        </Tables>
        <Sources>
        </Sources>
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="CustomerAlertsDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:Generator_UserDSName="CustomerAlertsDataSet" msprop:Generator_DataSetName="CustomerAlertsDataSet">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="Alert" msprop:Generator_UserTableName="Alert" msprop:Generator_RowDeletedName="AlertRowDeleted" msprop:Generator_RowChangedName="AlertRowChanged" msprop:Generator_RowClassName="AlertRow" msprop:Generator_RowChangingName="AlertRowChanging" msprop:Generator_RowEvArgName="AlertRowChangeEvent" msprop:Generator_RowEvHandlerName="AlertRowChangeEventHandler" msprop:Generator_TableClassName="AlertDataTable" msprop:Generator_TableVarName="tableAlert" msprop:Generator_RowDeletingName="AlertRowDeleting" msprop:Generator_TablePropName="Alert">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="AlertId" msprop:Generator_UserColumnName="AlertId" msprop:Generator_ColumnPropNameInRow="AlertId" msprop:Generator_ColumnVarNameInTable="columnAlertId" msprop:Generator_ColumnPropNameInTable="AlertIdColumn" type="xs:int" />
              <xs:element name="AlertTypeId" msprop:Generator_UserColumnName="AlertTypeId" msprop:Generator_ColumnPropNameInRow="AlertTypeId" msprop:Generator_ColumnVarNameInTable="columnAlertTypeId" msprop:Generator_ColumnPropNameInTable="AlertTypeIdColumn" type="xs:int" />
              <xs:element name="CustomerId" msprop:Generator_UserColumnName="CustomerId" msprop:Generator_ColumnPropNameInRow="CustomerId" msprop:Generator_ColumnVarNameInTable="columnCustomerId" msprop:Generator_ColumnPropNameInTable="CustomerIdColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="32" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="StartDate" msprop:Generator_UserColumnName="StartDate" msprop:Generator_ColumnPropNameInRow="StartDate" msprop:Generator_ColumnVarNameInTable="columnStartDate" msprop:Generator_ColumnPropNameInTable="StartDateColumn" type="xs:dateTime" />
              <xs:element name="ExpirationDate" msprop:Generator_UserColumnName="ExpirationDate" msprop:Generator_ColumnPropNameInRow="ExpirationDate" msprop:Generator_ColumnVarNameInTable="columnExpirationDate" msprop:Generator_ColumnPropNameInTable="ExpirationDateColumn" type="xs:dateTime" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="AlertType" msprop:Generator_UserTableName="AlertType" msprop:Generator_RowDeletedName="AlertTypeRowDeleted" msprop:Generator_RowChangedName="AlertTypeRowChanged" msprop:Generator_RowClassName="AlertTypeRow" msprop:Generator_RowChangingName="AlertTypeRowChanging" msprop:Generator_RowEvArgName="AlertTypeRowChangeEvent" msprop:Generator_RowEvHandlerName="AlertTypeRowChangeEventHandler" msprop:Generator_TableClassName="AlertTypeDataTable" msprop:Generator_TableVarName="tableAlertType" msprop:Generator_RowDeletingName="AlertTypeRowDeleting" msprop:Generator_TablePropName="AlertType">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="AlertTypeId" msprop:Generator_UserColumnName="AlertTypeId" msprop:Generator_ColumnPropNameInRow="AlertTypeId" msprop:Generator_ColumnVarNameInTable="columnAlertTypeId" msprop:Generator_ColumnPropNameInTable="AlertTypeIdColumn" type="xs:int" />
              <xs:element name="AlertType" msprop:Generator_UserColumnName="AlertType" msprop:Generator_ColumnPropNameInRow="AlertType" msprop:Generator_ColumnVarNameInTable="columnAlertType" msprop:Generator_ColumnPropNameInTable="AlertTypeColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="64" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Description" msprop:Generator_UserColumnName="Description" msprop:Generator_ColumnPropNameInRow="Description" msprop:Generator_ColumnVarNameInTable="columnDescription" msprop:Generator_ColumnPropNameInTable="DescriptionColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="256" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="StartDate" msprop:Generator_UserColumnName="StartDate" msprop:Generator_ColumnPropNameInRow="StartDate" msprop:Generator_ColumnVarNameInTable="columnStartDate" msprop:Generator_ColumnPropNameInTable="StartDateColumn" type="xs:dateTime" />
              <xs:element name="ExpirationDate" msprop:Generator_UserColumnName="ExpirationDate" msprop:Generator_ColumnPropNameInRow="ExpirationDate" msprop:Generator_ColumnVarNameInTable="columnExpirationDate" msprop:Generator_ColumnPropNameInTable="ExpirationDateColumn" type="xs:dateTime" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
    <xs:unique name="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Alert" />
      <xs:field xpath="mstns:AlertId" />
    </xs:unique>
    <xs:unique name="AlertType_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:AlertType" />
      <xs:field xpath="mstns:AlertTypeId" />
    </xs:unique>
  </xs:element>
  <xs:annotation>
    <xs:appinfo>
      <msdata:Relationship name="FK_Alert_AlertType" msdata:parent="AlertType" msdata:child="Alert" msdata:parentkey="AlertTypeId" msdata:childkey="AlertId" msprop:Generator_UserRelationName="FK_Alert_AlertType" msprop:Generator_RelationVarName="relationFK_Alert_AlertType" msprop:Generator_UserChildTable="Alert" msprop:Generator_UserParentTable="AlertType" msprop:Generator_ParentPropName="AlertTypeRow" msprop:Generator_ChildPropName="Getsp_CustomerAlertsRows" />
    </xs:appinfo>
  </xs:annotation>
</xs:schema>